package itheima.mInnerClass3;

public class Outer {

    private int num = 10;
    public void  method(){

        class Inner{
            int num2 = 20;
            public void show(){
                System.out.println(num);
                System.out.println(num2);
            }
        }
        Inner i = new Inner();
        i.show();
    }
}
